/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.posplus.losspreventiondataimporter.service;

import com.posplus.strack.POSDAOFactory;
import com.posplus.strack.dao.EmployeesDAO;
import com.posplus.strack.mapping.Employees;
import java.util.List;
import org.apache.log4j.Logger;

/**
 *
 * @author scottw
 */
public class EmployeeService {
    private EmployeesDAO employeeDAO;
    
    public EmployeeService(POSDAOFactory svtFactory){
        this.employeeDAO = svtFactory.getEmployeesDAO();
    }

    public List<Employees> getAll() {
        return employeeDAO.findAll();
    }
}
